package com.wv.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wv.model.system.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysMenuDao extends SpiceBaseMapper<SysMenu> {

    List<SysMenu> selectByUserId(@Param("id") String id);

    List<SysMenu> selectByRoleId(String roleId);
}
